/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const operateRouter = {
    path: '/operate',
    component: Layout,
    name: 'operate',
    meta: {
        title: '作品管理',
        icon: 'component'
    },
    children: [
        {
            path: 'sort',
            component: () => import('@/views/operate/sort/index.vue'),
            name: 'sort',
            meta: { title: '作品分类' }
        },
        {
            path: 'product',
            component: () => import('@/views/operate/product/index.vue'),
            name: 'product',
            meta: { title: '作品列表' }
        }
    ]
}

export default operateRouter
